package com.haixiaoke.saas.bill.service.impl;

import com.haixiaoke.saas.bill.domain.BankBranch;
import com.haixiaoke.saas.bill.mapper.BankBranchMapper;
import com.haixiaoke.saas.bill.service.IBankBranchService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * 银行支行Service业务层处理
 *
 * @author qixi
 * @date 2024-06-25
 */
@Service
public class BankBranchServiceImpl implements IBankBranchService {
    @Autowired
    private BankBranchMapper bankBranchMapper;

    /**
     * 查询银行支行
     *
     * @param id 银行支行主键
     * @return 银行支行
     */
    @Override
    public BankBranch selectBankBranchById(Long id) {
        return bankBranchMapper.selectBankBranchById(id);
    }

    /**
     * 查询银行支行列表
     *
     * @param bankBranch 银行支行
     * @return 银行支行
     */
    @Override
    public List<BankBranch> selectBankBranchList(BankBranch bankBranch) {
        return bankBranchMapper.selectBankBranchList(bankBranch);
    }


}
